

function bubbleSort(arr,n) {
    for (i=0; i<n; i++){
        for (j;j<n-i-1;j++){
            arr[j+1] = [[arr[j] = arr[j+1]],arr[j]][1]
        }
    }
}

function main() {

}

main();